package com.anysoft.event;

import com.anysoft.bean.TaxPayerEvent;

import java.io.Serializable;
import java.util.List;

/**
 * Created by wwq on 2017/2/17.
 */

public class RegisterEvent implements Serializable {

    private String authApplyNo; //原鉴权申请单号
    private String bankCode; //银行编号
    private String bankAccountNo; //银行账号
    private String trustChannelId;  //交易渠道
    private String username; //姓名
    private String mobilePhone;  //手机号
    private String identityType;  //证件类型
    private String identityNo; //证件号码
    private String password;  //交易密码
    /**
     * 格式为：YYYYMMDD
     */
    private String idValidDate; //证件有效期
    /**
     * 证件是否长期有效.1-有效，0-无效
     */
    private String certificateValidEver; //证件是否长期有效
    /**
     * 0-女，1-男
     */
    private String sex;
    private String profession; //职业
    private String occupation;  //职务
    private String birthday; //出生日期
    private String email; //邮箱

    private String provinceCode; //省代码
    private String cityCode; //市代码
    private String postCode; //邮政编码
    private String address; //通讯地址
    private String recommendPerson;//推荐人

    //3.0.7新增 账户是否由他人控制
    private String isExistActualControl;  //账户是否由他人控制  0:本人 1:他人
    private String controllerName;  //控制人姓名
    private String controllerCertType; //控制人证件类型
    private String controllerCertNo; //控制人证件号
    private String controllerCertValidTerm; //控制人证件有效期
    private String controllerCertValidEver; //控制人证件有效期是否长期有效  0:否 1:是
    private String controllerInstruction; //控制人说明

    //3.0.7新增 实际受益人是否是本人
    private String actualBeneficiaryRelation;  //实际受益人是否是本人  0:本人 1:他人
    private String beneficiaryName;  //实际受益人姓名
    private String beneficiaryCertType;  //实际受益证件类型
    private String beneficiaryCertNo;  //实际受益人证件号
    private String beneficiaryCertValidTerm;  //实际受益人证件有效期
    private String beneficiaryCertValidEver;  //实际受益人证件有效期是否长期有效  0:否 1:是
    private String beneficiaryInstruction;  //实际受益人说明


    //3.0.7新增 有无不良记录
    private String hasBadCreditRecords;  //0:无 1:有
    private String badCreditRecords;  //有无不良记录

    /*3.0.9改动 涉税*/
    private String taxType;//税收类型
    //居民身份信息
    private String nameEn;//名（英文）
    private String surnameEn;//姓（英文
    //现居住地详细地址
    private String domicileCountry;//国家
    private String domicileProvince;//省
    private String domicileCity;//市
    private String domicileAddressCn;//中文地址
    private String domicileAddressEn;//英文地址 或者拼音
    //出生地详细地址
    private String birthplaceCountry;//国家
    private String birthplaceProvince;//省
    private String birthplaceCity;//市

    //税收居民国(地区)及纳税人识别号
    private List<TaxPayerEvent> taxPayers;

    public String getAuthApplyNo() {
        return authApplyNo;
    }

    public void setAuthApplyNo(String authApplyNo) {
        this.authApplyNo = authApplyNo;
    }

    public String getBankCode() {
        return bankCode;
    }

    public void setBankCode(String bankCode) {
        this.bankCode = bankCode;
    }

    public String getBankAccountNo() {
        return bankAccountNo;
    }

    public void setBankAccountNo(String bankAccountNo) {
        this.bankAccountNo = bankAccountNo;
    }

    public String getTrustChannelId() {
        return trustChannelId;
    }

    public void setTrustChannelId(String trustChannelId) {
        this.trustChannelId = trustChannelId;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getMobilePhone() {
        return mobilePhone;
    }

    public void setMobilePhone(String mobilePhone) {
        this.mobilePhone = mobilePhone;
    }

    public String getIdentityType() {
        return identityType;
    }

    public void setIdentityType(String identityType) {
        this.identityType = identityType;
    }

    public String getIdentityNo() {
        return identityNo;
    }

    public void setIdentityNo(String identityNo) {
        this.identityNo = identityNo;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getIdValidDate() {
        return idValidDate;
    }

    public void setIdValidDate(String idValidDate) {
        this.idValidDate = idValidDate;
    }

    public String getCertificateValidEver() {
        return certificateValidEver;
    }

    public void setCertificateValidEver(String certificateValidEver) {
        this.certificateValidEver = certificateValidEver;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getProfession() {
        return profession;
    }

    public void setProfession(String profession) {
        this.profession = profession;
    }

    public String getOccupation() {
        return occupation;
    }

    public void setOccupation(String occupation) {
        this.occupation = occupation;
    }

    public String getBirthday() {
        return birthday;
    }

    public void setBirthday(String birthday) {
        this.birthday = birthday;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getProvinceCode() {
        return provinceCode;
    }

    public void setProvinceCode(String provinceCode) {
        this.provinceCode = provinceCode;
    }

    public String getCityCode() {
        return cityCode;
    }

    public void setCityCode(String cityCode) {
        this.cityCode = cityCode;
    }

    public String getPostCode() {
        return postCode;
    }

    public void setPostCode(String postCode) {
        this.postCode = postCode;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getRecommendPerson() {
        return recommendPerson;
    }

    public void setRecommendPerson(String recommendPerson) {
        this.recommendPerson = recommendPerson;
    }

    public String getIsExistActualControl() {
        return isExistActualControl;
    }

    public void setIsExistActualControl(String isExistActualControl) {
        this.isExistActualControl = isExistActualControl;
    }

    public String getControllerName() {
        return controllerName;
    }

    public void setControllerName(String controllerName) {
        this.controllerName = controllerName;
    }

    public String getControllerCertType() {
        return controllerCertType;
    }

    public void setControllerCertType(String controllerCertType) {
        this.controllerCertType = controllerCertType;
    }

    public String getControllerCertNo() {
        return controllerCertNo;
    }

    public void setControllerCertNo(String controllerCertNo) {
        this.controllerCertNo = controllerCertNo;
    }

    public String getControllerCertValidTerm() {
        return controllerCertValidTerm;
    }

    public void setControllerCertValidTerm(String controllerCertValidTerm) {
        this.controllerCertValidTerm = controllerCertValidTerm;
    }

    public String getControllerCertValidEver() {
        return controllerCertValidEver;
    }

    public void setControllerCertValidEver(String controllerCertValidEver) {
        this.controllerCertValidEver = controllerCertValidEver;
    }

    public String getControllerInstruction() {
        return controllerInstruction;
    }

    public void setControllerInstruction(String controllerInstruction) {
        this.controllerInstruction = controllerInstruction;
    }

    public String getActualBeneficiaryRelation() {
        return actualBeneficiaryRelation;
    }

    public void setActualBeneficiaryRelation(String actualBeneficiaryRelation) {
        this.actualBeneficiaryRelation = actualBeneficiaryRelation;
    }

    public String getBeneficiaryName() {
        return beneficiaryName;
    }

    public void setBeneficiaryName(String beneficiaryName) {
        this.beneficiaryName = beneficiaryName;
    }

    public String getBeneficiaryCertType() {
        return beneficiaryCertType;
    }

    public void setBeneficiaryCertType(String beneficiaryCertType) {
        this.beneficiaryCertType = beneficiaryCertType;
    }

    public String getBeneficiaryCertNo() {
        return beneficiaryCertNo;
    }

    public void setBeneficiaryCertNo(String beneficiaryCertNo) {
        this.beneficiaryCertNo = beneficiaryCertNo;
    }

    public String getBeneficiaryCertValidTerm() {
        return beneficiaryCertValidTerm;
    }

    public void setBeneficiaryCertValidTerm(String beneficiaryCertValidTerm) {
        this.beneficiaryCertValidTerm = beneficiaryCertValidTerm;
    }

    public String getBeneficiaryCertValidEver() {
        return beneficiaryCertValidEver;
    }

    public void setBeneficiaryCertValidEver(String beneficiaryCertValidEver) {
        this.beneficiaryCertValidEver = beneficiaryCertValidEver;
    }

    public String getBeneficiaryInstruction() {
        return beneficiaryInstruction;
    }

    public void setBeneficiaryInstruction(String beneficiaryInstruction) {
        this.beneficiaryInstruction = beneficiaryInstruction;
    }

    public String getHasBadCreditRecords() {
        return hasBadCreditRecords;
    }

    public void setHasBadCreditRecords(String hasBadCreditRecords) {
        this.hasBadCreditRecords = hasBadCreditRecords;
    }

    public String getBadCreditRecords() {
        return badCreditRecords;
    }

    public void setBadCreditRecords(String badCreditRecords) {
        this.badCreditRecords = badCreditRecords;
    }

    public String getTaxType() {
        return taxType;
    }

    public void setTaxType(String taxType) {
        this.taxType = taxType;
    }

    public String getNameEn() {
        return nameEn;
    }

    public void setNameEn(String nameEn) {
        this.nameEn = nameEn;
    }

    public String getSurnameEn() {
        return surnameEn;
    }

    public void setSurnameEn(String surnameEn) {
        this.surnameEn = surnameEn;
    }

    public String getDomicileCountry() {
        return domicileCountry;
    }

    public void setDomicileCountry(String domicileCountry) {
        this.domicileCountry = domicileCountry;
    }

    public String getDomicileProvince() {
        return domicileProvince;
    }

    public void setDomicileProvince(String domicileProvince) {
        this.domicileProvince = domicileProvince;
    }

    public String getDomicileCity() {
        return domicileCity;
    }

    public void setDomicileCity(String domicileCity) {
        this.domicileCity = domicileCity;
    }

    public String getDomicileAddressCn() {
        return domicileAddressCn;
    }

    public void setDomicileAddressCn(String domicileAddressCn) {
        this.domicileAddressCn = domicileAddressCn;
    }

    public String getDomicileAddressEn() {
        return domicileAddressEn;
    }

    public void setDomicileAddressEn(String domicileAddressEn) {
        this.domicileAddressEn = domicileAddressEn;
    }

    public String getBirthplaceCountry() {
        return birthplaceCountry;
    }

    public void setBirthplaceCountry(String birthplaceCountry) {
        this.birthplaceCountry = birthplaceCountry;
    }

    public String getBirthplaceProvince() {
        return birthplaceProvince;
    }

    public void setBirthplaceProvince(String birthplaceProvince) {
        this.birthplaceProvince = birthplaceProvince;
    }

    public String getBirthplaceCity() {
        return birthplaceCity;
    }

    public void setBirthplaceCity(String birthplaceCity) {
        this.birthplaceCity = birthplaceCity;
    }

    public List<TaxPayerEvent> getTaxPayers() {
        return taxPayers;
    }

    public void setTaxPayers(List<TaxPayerEvent> taxPayers) {
        this.taxPayers = taxPayers;
    }

    @Override
    public String toString() {
        return "RegisterEvent{" +
                "username='" + username + '\'' +
                ", mobilePhone='" + mobilePhone + '\'' +
                ", identityType='" + identityType + '\'' +
                ", identityNo='" + identityNo + '\'' +
                ", idValidDate='" + idValidDate + '\'' +
                ", certificateValidEver='" + certificateValidEver + '\'' +
                ", sex='" + sex + '\'' +
                ", profession='" + profession + '\'' +
                ", occupation='" + occupation + '\'' +
                ", birthday='" + birthday + '\'' +
                ", email='" + email + '\'' +
                ", provinceCode='" + provinceCode + '\'' +
                ", cityCode='" + cityCode + '\'' +
                ", postCode='" + postCode + '\'' +
                ", address='" + address + '\'' +
                ", recommendPerson='" + recommendPerson + '\'' +
                ", isExistActualControl='" + isExistActualControl + '\'' +
                ", controllerName='" + controllerName + '\'' +
                ", controllerCertType='" + controllerCertType + '\'' +
                ", controllerCertNo='" + controllerCertNo + '\'' +
                ", controllerCertValidTerm='" + controllerCertValidTerm + '\'' +
                ", controllerCertValidEver='" + controllerCertValidEver + '\'' +
                ", controllerInstruction='" + controllerInstruction + '\'' +
                ", actualBeneficiaryRelation='" + actualBeneficiaryRelation + '\'' +
                ", beneficiaryName='" + beneficiaryName + '\'' +
                ", beneficiaryCertType='" + beneficiaryCertType + '\'' +
                ", beneficiaryCertNo='" + beneficiaryCertNo + '\'' +
                ", beneficiaryCertValidTerm='" + beneficiaryCertValidTerm + '\'' +
                ", beneficiaryCertValidEver='" + beneficiaryCertValidEver + '\'' +
                ", beneficiaryInstruction='" + beneficiaryInstruction + '\'' +
                ", hasBadCreditRecords='" + hasBadCreditRecords + '\'' +
                ", badCreditRecords='" + badCreditRecords + '\'' +
                ", taxType='" + taxType + '\'' +
                ", nameEn='" + nameEn + '\'' +
                ", surnameEn='" + surnameEn + '\'' +
                ", domicileCountry='" + domicileCountry + '\'' +
                ", domicileProvince='" + domicileProvince + '\'' +
                ", domicileCity='" + domicileCity + '\'' +
                ", domicileAddressCn='" + domicileAddressCn + '\'' +
                ", domicileAddressEn='" + domicileAddressEn + '\'' +
                ", birthplaceCountry='" + birthplaceCountry + '\'' +
                ", birthplaceProvince='" + birthplaceProvince + '\'' +
                ", birthplaceCity='" + birthplaceCity + '\'' +
                ", taxPayers=" + taxPayers +
                '}';
    }
}
